package com.shen.jcbf.iobf;

import java.io.FileOutputStream;

public class IOWrit {
	
	//根据路径写入相应内容（路径例如：“D:\\kangmaxian.xml”）
	public boolean writPahtTxt(String xmlString, String path){
		try {
			FileOutputStream fo = new FileOutputStream(path);
			fo.write(xmlString.getBytes());
			fo.close();
			return true;
		} catch (Exception e) {
			e.printStackTrace();
			return false;
		}
	}
	
}
